Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.user.registration.lifecycle.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.user.registration.lifecycle.contrib">

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
             point="lifecycle">

    <lifecycle name="registrationRequest" defaultInitial="created">
      <transitions>
        <transition name="accept" destinationState="accepted">
          <description>Accept the registration request</description>
        </transition>
        <transition name="reject" destinationState="rejected">
          <description>Reject the registration request</description>
        </transition>
        <transition name="validate" destinationState="validated">
          <description>Validate the registration request</description>
        </transition>
        <transition name="process" destinationState="processed">
          <description>Process the registration request</description>
        </transition>
      </transitions>
      <states>
        <state name="created" description="Default state" initial="true">
          <transitions>
            <transition>accept</transition>
            <transition>reject</transition>
          </transitions>
        </state>
        <state name="accepted" description="Registration has been accepted">
          <transitions>
            <transition>validate</transition>
          </transitions>
        </state>
        <state name="rejected" description="Registration has been rejected">
          <transitions></transitions>
        </state>
        <state name="validated" description="Registration has been validated">
          <transitions>
            <transition>process</transition>
          </transitions>
        </state>
        <state name="processed" description="Registration request has been processed">
          <transitions></transitions>
        </state>
      </states>
    </lifecycle>
  </extension>

</component>